package com.tanovo.mapper;

import com.tanovo.bo.DepartmentUserQuery;
import com.tanovo.domain.DepartmentUser;
import com.tanovo.domain.DepartmentUserExample;
import java.util.List;

import com.tanovo.domain.UserBaseInfo;
import org.apache.ibatis.annotations.Param;

public interface DepartmentUserMapper {
    int countByExample(DepartmentUserExample example);

    int deleteByExample(DepartmentUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentUser record);

    int insertSelective(DepartmentUser record);

    List<DepartmentUser> selectByExample(DepartmentUserExample example);

    DepartmentUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepartmentUser record, @Param("example") DepartmentUserExample example);

    int updateByExample(@Param("record") DepartmentUser record, @Param("example") DepartmentUserExample example);

    int updateByPrimaryKeySelective(DepartmentUser record);

    int updateByPrimaryKey(DepartmentUser record);

    List<UserBaseInfo> userNotList(DepartmentUserQuery departmentUserQuery);

    List<UserBaseInfo> userList(DepartmentUserQuery departmentUserQuery);
}